package com.czc.cca.ddl;

import org.zoomdev.zoom.dao.ddl.SqlType;
import org.zoomdev.zoom.dao.ddl._DDL_Column;
import org.zoomdev.zoom.dao.ddl._DDL_Primary;
import org.zoomdev.zoom.dao.ddl._DDL_Table;
import org.zoomdev.zoom.dao.driver.mysql.MysqlDriver;

@_DDL_Table(name = "bank_card_bin", simpleName = "", engine = MysqlDriver.InnoDB, comment = "银行卡BIN")
public class _DDL_BankCardBin {

    @_DDL_Column(name = "BANK_NAME", type = SqlType.VARCHAR, size = 50, comment = "银行名称")
    private String bankName;

    @_DDL_Column(name = "CARD_TYPE", type = SqlType.VARCHAR, size = 50, comment = "卡类型")
    private String cardType;

    @_DDL_Primary()
    @_DDL_Column(name = "CARD_BIN", type = SqlType.VARCHAR, size = 15, nullable = false, comment = "卡BIN")
    private String cardBin;

    @_DDL_Column(name = "CARD_LENGTH", type = SqlType.INT, comment = "卡号长度")
    private Integer cardLength;

}
